/* eslint-disable import/prefer-default-export */
import request from '@/utils/request';

// 列表接口
export async function getEmpList(params) {
  return request(`/csApi/batchAdj/batchOper/query`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 报价单信息
export async function getQuoInfo(params) {
  return request(`/csApi/crmquo/get`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 获取新旧报价单列表数据
export async function getPdData(params) {
  return request(`/csApi/crmquo/getNewQuo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 获取下载模板信息
export async function getDownloadInfo(params) {
  return request(`/csApi/batchAdj/fileUrl/get`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 获取上传进度数据
export async function getUploadProgress(params) {
  return request(`/csApi/batchTask/getBatTaskInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

export async function getDownloadInfoQuo(params) {
  return request(`/csApi/sendempchangeQuo/createTemplate`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 批量社保上传
export async function uploadFileIns(params) {
  return request(`/csApi/batchAdj/adjIns`, {
    method: 'POST',
    body: params,
  });
}

// 批量公积金上传
export async function uploadFileAccu(params) {
  return request(`/csApi/batchAdj/adjAccu`, {
    method: 'POST',
    body: params,
  });
}

// 批量成本中心上传
export async function uploadFileCostCenter(params) {
  return request(`/csApi/batchAdj/costCenter`, {
    method: 'POST',
    body: params,
  });
}

// 批量雇员信息上传
export async function uploadFileEmpInfo(params) {
  return request(`/csApi/batchAdj/empInfo`, {
    method: 'POST',
    body: params,
  });
}

// 批量修改所属报价单上传
export async function uploadFileQuotation(params) {
  return request(`/csApi/sendempchangeQuo/batchChangeQuo`, {
    method: 'POST',
    body: params,
  });
}

// 批量修改服务费上传
export async function uploadFileServiceFee(params) {
  return request(`/csApi/batchAdj/serAmo`, {
    method: 'POST',
    body: params,
  });
}



